function reset_xlabel(fig, haxes, X, xlabelList, methodList)
b_xlabel = getappdata(fig, 'b_xlabel');

if isempty(b_xlabel)
    b_xlabel = true;
    setappdata(fig, 'b_xlabel', b_xlabel);
end

for i = 1 : length(haxes)
    fig.CurrentAxes = haxes(i);
    if ~b_xlabel
        if i > 1, imshow(X{i}); end
        xlabel('');
        title('');
    else
        if i > 1, cla; end
        title(xlabelList{i});
        if ~isempty(methodList)
%             title(methodList{i});
        end
        set(gca, 'fontsize', 7, 'fontname', 'timesnewroman');
    end
end

setappdata(fig, 'b_xlabel', ~b_xlabel);
